package xian.woniuxy.be.entity;

import java.io.Serializable;
import java.util.Set;

public class Customer implements Serializable {
    private Integer cusId;

    private Users users;

    private String cusName;

    private String cusRegion;

    private Integer uid;

    private Integer cusLevel;

    private String cusSatisfaction;

    private String cusCredit;

    private String cusAddr;

    private String cusPostmail;

    private String cusFax;

    private String cusTel;

    private String cusUrl;

    private String cusLicense;

    private String cusLegalperson;

    private String cusAssets;

    private String cusRevenue;

    private String cusStatus;

    private Set<Contactperson> contactpersonset;

    private Set<Contactrecord> contactrecordSet;

    private Set<Orders> ordersSet;

    private static final long serialVersionUID = 1L;

    public Integer getCusId() {
        return cusId;
    }

    public void setCusId(Integer cusId) {
        this.cusId = cusId;
    }

    public String getCusName() {
        return cusName;
    }

    public void setCusName(String cusName) {
        this.cusName = cusName == null ? null : cusName.trim();
    }

    public String getCusRegion() {
        return cusRegion;
    }

    public void setCusRegion(String cusRegion) {
        this.cusRegion = cusRegion == null ? null : cusRegion.trim();
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getCusLevel() {
        return cusLevel;
    }

    public void setCusLevel(Integer cusLevel) {
        this.cusLevel = cusLevel;
    }

    public String getCusSatisfaction() {
        return cusSatisfaction;
    }

    public void setCusSatisfaction(String cusSatisfaction) {
        this.cusSatisfaction = cusSatisfaction == null ? null : cusSatisfaction.trim();
    }

    public String getCusCredit() {
        return cusCredit;
    }

    public void setCusCredit(String cusCredit) {
        this.cusCredit = cusCredit == null ? null : cusCredit.trim();
    }

    public String getCusAddr() {
        return cusAddr;
    }

    public void setCusAddr(String cusAddr) {
        this.cusAddr = cusAddr == null ? null : cusAddr.trim();
    }

    public String getCusPostmail() {
        return cusPostmail;
    }

    public void setCusPostmail(String cusPostmail) {
        this.cusPostmail = cusPostmail == null ? null : cusPostmail.trim();
    }

    public String getCusFax() {
        return cusFax;
    }

    public void setCusFax(String cusFax) {
        this.cusFax = cusFax == null ? null : cusFax.trim();
    }

    public String getCusTel() {
        return cusTel;
    }

    public void setCusTel(String cusTel) {
        this.cusTel = cusTel == null ? null : cusTel.trim();
    }

    public String getCusUrl() {
        return cusUrl;
    }

    public void setCusUrl(String cusUrl) {
        this.cusUrl = cusUrl == null ? null : cusUrl.trim();
    }

    public String getCusLicense() {
        return cusLicense;
    }

    public void setCusLicense(String cusLicense) {
        this.cusLicense = cusLicense == null ? null : cusLicense.trim();
    }

    public String getCusLegalperson() {
        return cusLegalperson;
    }

    public void setCusLegalperson(String cusLegalperson) {
        this.cusLegalperson = cusLegalperson == null ? null : cusLegalperson.trim();
    }

    public String getCusAssets() {
        return cusAssets;
    }

    public void setCusAssets(String cusAssets) {
        this.cusAssets = cusAssets == null ? null : cusAssets.trim();
    }

    public String getCusRevenue() {
        return cusRevenue;
    }

    public void setCusRevenue(String cusRevenue) {
        this.cusRevenue = cusRevenue == null ? null : cusRevenue.trim();
    }

    public String getCusStatus() {
        return cusStatus;
    }

    public void setCusStatus(String cusStatus) {
        this.cusStatus = cusStatus == null ? null : cusStatus.trim();
    }

    public Set<Contactperson> getContactpersonset() {
        return contactpersonset;
    }

    public void setContactpersonset(Set<Contactperson> contactpersonset) {
        this.contactpersonset = contactpersonset;
    }

    public Set<Contactrecord> getContactrecordSet() {
        return contactrecordSet;
    }

    public void setContactrecordSet(Set<Contactrecord> contactrecordSet) {
        this.contactrecordSet = contactrecordSet;
    }

    public Set<Orders> getOrdersSet() {
        return ordersSet;
    }

    public void setOrdersSet(Set<Orders> ordersSet) {
        this.ordersSet = ordersSet;
    }

    public Users getUsers() {
        return users;
    }

    public void setUsers(Users users) {
        this.users = users;
    }

    @Override
    public String toString() {
        return "Customer{" +
                "cusId=" + cusId +
                ", users=" + users +
                ", cusName='" + cusName + '\'' +
                ", cusRegion='" + cusRegion + '\'' +
                ", uid=" + uid +
                ", cusLevel=" + cusLevel +
                ", cusSatisfaction='" + cusSatisfaction + '\'' +
                ", cusCredit='" + cusCredit + '\'' +
                ", cusAddr='" + cusAddr + '\'' +
                ", cusPostmail='" + cusPostmail + '\'' +
                ", cusFax='" + cusFax + '\'' +
                ", cusTel='" + cusTel + '\'' +
                ", cusUrl='" + cusUrl + '\'' +
                ", cusLicense='" + cusLicense + '\'' +
                ", cusLegalperson='" + cusLegalperson + '\'' +
                ", cusAssets='" + cusAssets + '\'' +
                ", cusRevenue='" + cusRevenue + '\'' +
                ", cusStatus='" + cusStatus + '\''+
                '}';
    }
}